package com.example.dragandview.diywidget;

import android.app.Activity;
import android.os.Bundle;
import android.widget.Button;
import android.widget.TextView;

import com.example.dragandview.R;

public class DiyButtonActivity extends Activity {
    private Button btn_submit;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.diywidget_button);
        TextView textView = findViewById(R.id.textview_titlebar);
        textView.setText("自定义按钮");
        btn_submit = findViewById(R.id.btn_submit);
    }
}
